/* ===========================================================================
 *
 *       Filename:  zinnia_handwriting_manager.h
 *
 *    Description:  inputmethod manager(handwriting) zh_CN, zinnia (qt)
 *
 * - Mode: 644
 * - NOTE. NOT use "dos"
 * - Updated: 2015-04-26 16:53:08
 *
 *        Version:  1.0.0
 *        Created:  2015-04-22
 *       Revision:  1.0.0
 *       Compiler:  g++
 *
 *         Author:  Yui Wong, email: yuiwong@126.com
 *   Organization:  ""
 *        License:  LGPLv3
 *
 *  This file is part of portable-inputmethod.yw.
 *
 *  portable-inputmethod.yw
 *  is free software: you can redistribute it
 *  and/or modify it under the terms of the GNU General Public License as
 *  published by the Free Software Foundation, either version 3 of the
 *  License, or (at your option) any later version.
 *
 *  portable-inputmethod.yw
 *  is distributed in the hope that it will be
 *  useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  portable-inputmethod.yw.
 *  If not, see <http://www.gnu.org/licenses/>.
 *
 * ===========================================================================
 */


#if !defined(_ZINNIA_HANDWRITING_MANAGER_H_)
#define _ZINNIA_HANDWRITING_MANAGER_H_ (1)


#if !defined(ID_QT_VERSION)
#	error "ID_QT_VERSION NOT defined"
#endif

#if (ID_QT_VERSION < 0x050000)
#	include <QtGui/QWidget>
#else
#	include <QtWidgets/QWidget>
#endif

#include <inputmethod.h>


class zinnia_handwriting;
class zinnia_handwriting_manager: public inputmethod_manager {
friend class zinnia_handwriting;

public: zinnia_handwriting_manager(void);
public: ~zinnia_handwriting_manager(void);

private: virtual inputmethod * create_method(QWidget * focus,
	const char * conf = 0, QWidget * parent4method = 0);
}; /* class zinnia_handwriting_manager */


#endif /* !defined(_ZINNIA_HANDWRITING_MANAGER_H_) */
/*
 * end of file zinnia_handwriting_manager.h
 */
